<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

namespace Manage\Logic;

/**
 * 文档模型子模型 - 下载模型
 */
class MemberLogic extends CommonLogic{

	/* 自动验证规则 */
	protected $_validate = array(
			
	);

	/* 自动完成规则 */
	protected $_auto = array();

	public function users(){
	    
	}
	
	/**
	 * 获取用户信息
	 */
	public function info($uid){
		$map = array(
				'uid'=>$uid,
		);
		 
		return $this->field(true)->where($map)->find();
		 
	}
	/* (non-PHPdoc)
	 * @see \Manage\Logic\CommonLogic::autoSave()
	 */
	public function autoSave($id = 0) {
		// TODO Auto-generated method stub
		
	}

	/* (non-PHPdoc)
	 * @see \Manage\Logic\CommonLogic::update()
	 */
	public function update($id = 0) {
		// TODO Auto-generated method stub
		
	}

	
	

}
